package com.yb;

import com.spring.*;

@Component()
@Scope("singleton")
public class UserService implements InitializingBean {


//    public OrderService getOrderService() {
//        return orderService;
//    }

    @Autowired
    OrderService orderService;

    @Override
    public void afterPropertiesSet() {
        System.out.println("初实话");
    }

    public void test(){
        System.out.println("====");
    }

}
